package com.emm.yixun.mobile.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;

import com.emm.yixun.mobile.R;

public class HousingFragmentAdapter extends BaseAdapter {

	Context context;

	public HousingFragmentAdapter(Context context) {
	}

	@Override
	public int getCount() {
		return 0;
	}

	@Override
	public Object getItem(int position) {
		return null;
	}

	@Override
	public long getItemId(int position) {
		return 0;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		ViewHodlerHousing v = null;
		if (convertView == null) {
			convertView = LayoutInflater.from(context).inflate(R.layout.housing_resources_item, null);
			v = new ViewHodlerHousing();
			v.housing_textview_item = (TextView) convertView.findViewById(R.id.housing_textview_item);
			convertView.setTag(v);
		} else {
			v = (ViewHodlerHousing) convertView.getTag();
		}
		return convertView;
	}

	public static class ViewHodlerHousing {
		TextView housing_textview_item;

	}
}
